﻿@model User

@*<partial name="_notification" />*@
<form method="post" asp-action="Delete">
    <input asp-for="Id" hidden />
    <div class="border p-3 mt-4">
        <div class="row pb-2">
            <h2 class="text-primary">删除用户</h2>
            <hr />
        </div>
        @*<div asp-validation-summary="All"></div>*@
        <div class="mb-3">
            <label asp-for="Name"></label>
            <input asp-for="Name" disabled class="form-control" />
        </div>
        <div class="mb-3">
            <label asp-for="Phone"></label>
            <input asp-for="Phone" disabled class="form-control" />
        </div>
        <div class="mb-3">
            <label asp-for="Password"></label>
            <input asp-for="Password" disabled class="form-control" />
        </div>
        <div class="mb-3">
            <label asp-for="Roleid"></label>
            <input asp-for="Roleid" class="form-control" />
        </div>
        <button type="submit" class="btn btn-danger" style="width:150px">删除</button>
        <a asp-controller="User" asp-action="index" class="btn btn-secondary" style="150px">返回</a>
    </div>
</form>